<template>
  <van-nav-bar title="极核车型说明书" left-text="返回" left-arrow @click-left="router.back()" fixed />
  <iframe :src="iframeUrl" frameborder="0"></iframe>
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router';
const route = useRoute();
const router = useRouter();

const iframeUrl = computed(() => {
  return route.query.url + route.hash;
})
</script>

<style lang="scss" scoped>
iframe {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
</style>